/*
 * VariableDeclAst.h
 *
 *  Created on: 5 Nov 2010
 *      Author: kn308
 */

#ifndef VARIABLEDECLAST_H_
#define VARIABLEDECLAST_H_

#include "ExpressionAst.h"
#include "TypeAst.h"

namespace MAlice
{

class VariableDeclAst: public MAlice::ExpressionAst
{
private:
	TypeAst* mType;
	string   mName;
public:
	VariableDeclAst(const string& name, TypeAst* type);
	virtual ~VariableDeclAst();
	virtual llvm::Value* generate();
};

}

#endif /* VARIABLEDECLAST_H_ */
